﻿using System.Data;
using Login.ADL;

namespace Login.BLL
{
    public  class tb_shiyanclassBLL
    {

        //所有实验班级表格提取
        #region
        public static DataSet getData()
        {
            return tb_shiyanclass.getData();
        }
        #endregion


        //班级所有实验数
        #region
        public static string[] getExpermentIdZu(string banJiName)
        {
            return new tb_shiyanclass().getExpermentIdZu(banJiName);
        }
        #endregion

        //删除实验相关信息
        #region
        public static void delete(string banJiID)
        {
            tb_shiyanclass.delete(banJiID);
        }
        #endregion

        //班级实验数添加
        #region
        public static void ExpermentAdd(string banJiID, string shiYanID)
        {
            tb_shiyanclass.ExpermentAdd(banJiID, shiYanID);
        }
        #endregion

        //搜索实验是否存在
        #region
        public static string ExperimentNameJudge(int ExperimentID)
        {
            return tb_shiyanclass.ExperimentNameJudge(ExperimentID);
        }
        #endregion
    }
}
